﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection.PortableExecutable;
using System.Text;
using System.Threading.Tasks;
using WitsWebApi.Entity.Entities;
using WitsWebApi.Entity.EntityParam;

namespace WitsWebApi.Application.AutoMapper
{
    public class CustomProfile : Profile
    {
        /// <summary>
        /// 注册 Map
        /// </summary>
        public CustomProfile()
        {
            #region 
            CreateMap<AdminParam, Admin>();
            CreateMap<Admin, AdminPage>();
            #endregion

        }
    }
}
